<%@ page import="com.psl.model.custom" %>
<%@ page import="com.psl.services.work.list.CustomServices" %>
<%@ page import="java.util.Iterator" %>
<%@ page import="java.util.List" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
    <select name="c_name">
        <option value="0">请选择客户公司</option>
    <% CustomServices cs = new CustomServices();
        List c = cs.customlist();
        Iterator iter = c.iterator();
        custom cust = null;
        while (iter.hasNext()) {
            cust = (custom) iter.next();%>
        <option value="<%=cust.getC_name()%>"><%=cust.getC_name()%></option>
    <%}%>
</select>